<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        div {
            position: absolute;
            width: 200px;
            height: 200px;
            background-color: skyblue;
        }
    </style>
    <script src="./jquery.min.3.4.1.js"></script>
</head>

<body>
    <button>动起来</button>
    <div>
    </div>


    <script>
        $('button').eq(0).click(function () {
            // .animate( 样式对象键值对, 动画时长);
            $('div').animate({
                left: 1000,
                top: 500,
                borderRadius: 100
            }, 2000)
        })


    </script>

</body>

</html>